package com.ldatum.crm.util;

public class ConvertUtil {
	/**
	 * 把一个字符串的首字母转成大写并返回
	 * @param str
	 * @return
	 */
	public static String initialToUpper(String str){
		byte[] items = str.getBytes();
		items[0] = (byte)((char)items[0]-'a'+'A');
		return new String(items);
	}
	
}